<template>
    <div>
        <!-- <home-banner :bannerList="bannerList"></home-banner> -->
        <makefriend-body></makefriend-body>
        <home-bottom @showSide="showSide"></home-bottom>
        <home-sidebar  :isRellyShow="isshow" @hideSide="hideSides"></home-sidebar>
        <div v-wechat-title="$route.meta.title"></div>
    </div>
</template>

<script>
import HomeBanner from '../Home/components/HomeBanner'
import HomeBottom from '../Home/components/Bottom'
import MakefriendBody from './components/body'
import HomeSidebar from '../../common/Sidebar/sideBar'
import axios from 'axios'
export default {
    name: 'Home',
    components: {
        HomeBanner,
        HomeBottom,
        HomeSidebar,
        MakefriendBody
    },
    data () {
        return {
            bannerList: [],
            isshow: false,
        }
    },
    created () {
        // axios.get('http://wxx.qipigou.com/api/login/islogin')
        //     .then(function (response) {
        //         console.log(response);
        //     })
    },
    mounted () {
        // this.getHomeInfo()
    },
    methods: {
        showSide:function(){
            
            this.isshow = !this.isshow 
        },
        hideSides: function () {
            this.isshow = !this.isshow 
        }
    }
}
</script>

<style lang="stylus" scoped>
body
    background-color: #fbf9fe;
    
</style>